<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-unix;$(NetCoreAppCurrent)-browser</TargetFrameworks>
    <TestRuntime>true</TestRuntime>
    <IncludeRemoteExecutor>true</IncludeRemoteExecutor>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="System\DllNotFoundExceptionTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\IUnknownConstantAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ArrayWithOffsetTests.cs" />
    <Compile Include="System\Runtime\InteropServices\BestFitMappingAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\BStrWrapperTests.cs" />
    <Compile Include="System\Runtime\InteropServices\CallingConventionTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ClassInterfaceAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\NativeMemoryTests.cs" />
    <Compile Include="System\Runtime\InteropServices\CULongTests.cs" />
    <Compile Include="System\Runtime\InteropServices\CLongTests.cs" />
    <Compile Include="System\Runtime\InteropServices\CoClassAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\CollectionsMarshalTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComAliasNameAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComAwareEventInfoTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComAwareEventInfoTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\ComCompatibleVersionAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComConversionLossAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComDefaultInterfaceAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComEventInterfaceAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComEventsHelperTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComRegisterFunctionAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComSourceInterfacesAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComUnregisterFunctionAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComVariantMarshallerTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComVariantTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ComVisibleAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\CurrencyWrapperTests.cs" />
    <Compile Include="System\Runtime\InteropServices\DefaultCharSetAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\DefaultDllImportSearchPathsAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\DefaultParameterValueAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\DispatchWrapperTests.cs" />
    <Compile Include="System\Runtime\InteropServices\DispIdAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\DllImportAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\FieldOffsetAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ErrorWrapperTests.cs" />
    <Compile Include="System\Runtime\InteropServices\GCHandleTests.cs" />
    <Compile Include="System\Runtime\InteropServices\GuidAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\HandleCollectorTests.cs" />
    <Compile Include="System\Runtime\InteropServices\HandleRefTests.cs" />
    <Compile Include="System\Runtime\InteropServices\InterfaceTypeAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\LCIDConversionAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\LibraryImportAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\MarshalAsAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Copy\ByteArrayTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Copy\CharArrayTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Copy\DoubleArrayTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Copy\Int16ArrayTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Copy\Int32ArrayTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Copy\Int64ArrayTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Copy\IntPtrArrayTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Copy\SingleArrayTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\AddRefTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\AllocHGlobalTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\BindToMonikerTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ChangeWrapperHandleStrengthTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ChangeWrapperHandleStrengthTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\CreateAggregatedObjectTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\CreateWrapperOfTypeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\CreateWrapperOfTypeTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\DestroyStructureTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\FinalReleaseComObjectTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\FinalReleaseComObjectTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\FreeBSTRTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\FreeCoTaskMemTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\FreeHGlobalTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GenerateGuidForTypeTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GenerateProgIdForTypeTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetComInterfaceForObjectTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetComObjectDataTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetDelegateForFunctionPointerTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetExceptionCodeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetExceptionForHRTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetFunctionPointerForDelegateTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetHRForExceptionTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetIDispatchForObjectTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetIUnknownForObjectTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetNativeVariantForObjectTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetNativeVariantForObjectTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetObjectForIUnknownTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetObjectForIUnknownTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetObjectForNativeVariantTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetObjectForNativeVariantTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetObjectsForNativeVariantsTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetStartComSlotTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetStartComSlotTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetTypeFromCLSIDTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetTypeInfoNameTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetUniqueObjectForIUnknownTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetUniqueObjectForIUnknownTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\InitHandleTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\IsComObjectTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\IsComObjectTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\LastErrorTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\PInvokeErrorMessageTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ReleaseTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ReleaseComObjectTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ReleaseComObjectTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\PtrToStructureTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\PtrToStringAnsiTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\PtrToStringAutoTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\PtrToStringBSTR.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\PtrToStringUniTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\PtrToStringUTF8Tests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\QueryInterfaceTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\QueryInterfaceTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ReAllocHGlobalTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ReAllocCoTaskMemTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\SecureStringToBSTRTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\SecureStringToCoTaskMemAnsiTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\SecureStringToCoTaskMemUnicodeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\SecureStringToGlobalAllocAnsiTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\SecureStringToGlobalAllocUnicodeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\SetComObjectDataTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\SizeOfTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\StringToBSTRTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\StringToCoTaskMemAnsiTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\StringToCoTaskMemAutoTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\StringToCoTaskMemUniTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\StringToCoTaskMemUTF8Tests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\StringToHGlobalAnsiTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\StringToHGlobalUniTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\StringToHGlobalAutoTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\OffsetOfTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\PrelinkTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\PrelinkAllTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ThrowExceptionForHRTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ZeroFreeCoTaskMemAnsiTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ZeroFreeCoTaskMemUnicodeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ZeroFreeCoTaskMemUTF8Tests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ZeroFreeGlobalAllocAnsiTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ZeroFreeGlobalAllocUnicodeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Common\CommonTypes.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Common\COMWrappersImpl.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Common\CommonTypes.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\Common\Variant.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ReadWrite\ByteTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ReadWrite\Int16Tests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ReadWrite\Int32Tests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ReadWrite\Int64Tests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\ReadWrite\IntPtrTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\StringMarshalingTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\StructureToPtrTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\UnsafeAddrOfPinnedArrayElementTests.cs" />
    <Compile Include="System\Runtime\InteropServices\NFloatTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ObjectiveC\MessageSendTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ObjectiveC\PendingExceptionTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ObjectiveC\LibObjC.cs" />
    <Compile Include="System\Runtime\InteropServices\PosixSignalContextTests.cs" />
    <Compile Include="System\Runtime\InteropServices\PosixSignalRegistrationTests.cs" />
    <Compile Include="System\Runtime\InteropServices\PrimaryInteropAssemblyAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ProgIdAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\RuntimeEnvironmentTests.cs" />
    <Compile Include="System\Runtime\InteropServices\SafeBufferTests.cs" />
    <Compile Include="System\Runtime\InteropServices\StructLayoutAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\TypeIdentifierAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\UnknownWrapperTests.cs" />
    <Compile Include="System\Runtime\InteropServices\UnmanagedFunctionPointerAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\VariantWrapperTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\IDispatchConstantAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\AutomationProxyAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ImportedFromTypeLibAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\ManagedToNativeComInteropStubAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GenerateGuidForTypeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GenerateProgIdForTypeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetComObjectDataTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetEndComSlotTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetEndComSlotTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetExceptionPointersTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetHINSTANCETests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetIDispatchForObjectTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetTypedObjectForIUnknownTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\GetTypedObjectForIUnknownTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\IsTypeVisibleFromComTests.cs" />
    <Compile Include="System\Runtime\InteropServices\Marshal\IsTypeVisibleFromComTests.Windows.cs" Condition="'$(TargetPlatformIdentifier)' == 'windows'" />
    <Compile Include="System\Runtime\InteropServices\Marshal\SetComObjectDataTests.cs" />
    <Compile Include="System\Runtime\InteropServices\TypeLibFuncAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\TypeLibImportClassAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\TypeLibTypeAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\TypeLibVarAttributeTests.cs" />
    <Compile Include="System\Runtime\InteropServices\TypeLibVersionAttributeTests.cs" />
  </ItemGroup>
  <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'windows'">
    <Compile Include="System\Runtime\InteropServices\PosixSignalRegistrationTests.Windows.cs" />
  </ItemGroup>
  <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'unix' or '$(TargetPlatformIdentifier)' == 'browser'">
    <Compile Include="System\Runtime\InteropServices\PosixSignalRegistrationTests.Unix.cs" />
    <Compile Include="$(CommonPath)Interop\Unix\Interop.Libraries.cs" Link="Common\Interop\Unix\Interop.Libraries.cs" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="$(CommonTestPath)System\GenericMathHelpers.cs" Link="Common\System\GenericMathHelpers.cs" />
    <Compile Include="System\Runtime\InteropServices\NFloatTests.GenericMath.cs" />
  </ItemGroup>
</Project>
